<?xml version="1.0"?>

<overlay id="UltimaOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<script type="application/javascript" src="chrome://Ultima/content/Ultima_Export_Line.js"></script>
<script type="application/javascript" src="chrome://Ultima/content/Ultima_Config.js"></script>
<script type="application/javascript" src="chrome://Ultima/content/Ultima_Func.js"></script>
<script type="application/javascript" src="chrome://Ultima/content/Ultima.js"></script>
<script type="application/javascript" src="chrome://Ultima/content/Clipboard_Throne.js"></script>
<script type="application/javascript" src="chrome://Ultima/content/Clipboard_Military.js"></script>
<script type="application/javascript" src="chrome://Ultima/content/Clipboard_Kingdom.js"></script>
<script type="application/javascript" src="chrome://Ultima/content/Clipboard_Science.js"></script>
<script type="application/javascript" src="chrome://Ultima/content/Clipboard_Buildings.js"></script>
<script type="application/javascript" src="chrome://Ultima/content/Clipboard_Uniques.js"></script>

<menupopup id="menu_ToolsPopup">
<menuitem class="menuitem-iconic" image="chrome://Ultima/content/statusbar_active.png" id="Ultima-ToolsPopup" insertafter="devToolsSeparator" label="Ultima" accesskey="U" oncommand="ShowPreferences();" />
</menupopup>

<statusbar id="status-bar">
<statusbarpanel id="Ultima-Statusbar-Icon" class="statusbarpanel-menu-iconic" src="chrome://Ultima/content/statusbar_active.png" label="Ultima">
<menupopup onpopupshown="CheckEnabled();">

<menuitem id="Ultima-Military-Calculator"    label="Military Calculator"    oncommand="ShowMilitary()" />
<menuitem id="Ultima-Science-Calculator"     label="Science Calculator"     oncommand="ShowScience()" />
<menuitem id="Ultima-Buildings-Calculator"   label="Buildings Calculator"   oncommand="ShowBuildings()" />
<menuitem id="Ultima-Exploration-Calculator" label="Exploration Calculator" oncommand="ShowExploration()" />
<menuitem id="Ultima-Thievery-Calculator"    label="Thievery Calculator"    oncommand="ShowThievery()" />
<menuitem id="Ultima-Ambush-Calculator"      label="Ambush Calculator"      oncommand="ShowAmbush()" />
<menuseparator id="Ultima-menu-separator-1" />
<menuitem id="Ultima-Clipboard-Manager"      label="Clipboard Manager"      oncommand="ShowClipboard()" />
<menuitem id="Ultima-Operations-Manager"     label="Operations Manager"     oncommand="ShowOperations()" />
<menuitem id="Ultima-Export-Line-Manager"    label="Export Line Manager"    oncommand="ShowExportLine()" />
<menuitem id="Ultima-Forum-Agent-Manager"    label="Forum Agent Manager"    oncommand="ShowAgent()" />
<menuseparator id="Ultima-menu-separator-2" />
<menuitem id="Ultima-Target-Finder"          label="Target Finder"          oncommand="ShowTarget()" />
<menuitem id="Ultima-Preferences"            label="Preferences"            oncommand="ShowPreferences()" />
<menuseparator id="Ultima-menu-separator-3" />
<menuitem id="Ultima-Enable"      label="Enable Ultima"  oncommand="EnableUltima();" />
<menuitem id="Ultima-Disable"     label="Disable Ultima" oncommand="DisableUltima();" />

</menupopup>
</statusbarpanel>
</statusbar>

</overlay>